package com.qk.management.service;

import com.qk.common.PageResult;
import com.qk.dto.activity.ActivityDTO;
import com.qk.entity.Activity;

import java.util.List;

public interface ActivityService {
    PageResult<Activity> listActivities(ActivityDTO activityDto);

    void addActivity(Activity activity);

    void deleteActivity(Integer id);

    void updateActivity(Activity activity);

    Activity getById(Integer id);

    List<Activity> getByType(Integer type);


}
